<!doctype html>
<html>
<head>
<include file="public:head" />
<link rel="stylesheet" href="__STATIC__/itaoke_mizhe/css/new_index_min.css" type="text/css" media="all" />
<link rel=stylesheet type=text/css href="__STATIC__/itaoke_mizhe/css/common.css" />
<link rel=stylesheet type=text/css href="__STATIC__/taoke/css/good_jp.css" />
</head>
<body>
<include file="public:header" />
<div class="jiu-nav-main">
	<div class="jiu-nav w980">

	<if condition="C('itk_quan_tui') eq 1">

		<div class="nav-item fl">
			<div class="item-list">
				<ul>
				<li ><a href="{:U('quan/index')}" <empty name="cid"> class="active"</empty> >全部({$total})</a></li>
				<li><a href="{:U('quan/index',array('cid'=>'nvzhuang'))}" <if condition="$cid eq 'nvzhuang'"> class="active"</if>>女装({$catcount.nvzhuang})</a></li>
				<li><a href="{:U('quan/index',array('cid'=>'nanzhuang'))}" <if condition="$cid eq 'nanzhuang'"> class="active"</if>>男装({$catcount.nanzhuang})</a></li>
				<li><a <if condition="$cid eq 'muying'"> class="active"</if> href="{:U('quan/index',array('cid'=>'muying'))}">母婴({$catcount.muying})</a></li>
				<li><a <if condition="$cid eq 'hzp'"> class="active" </if> href="{:U('quan/index',array('cid'=>'hzp'))}">化妆品({$catcount.hzp})</a></li>
				<li><a <if condition="$cid eq 'jujia'"> class="active"</if> href="{:U('quan/index',array('cid'=>'jujia'))}">居家({$catcount.jujia})</a></li>
				<li><a <if condition="$cid eq 'xiebao'"> class="active"</if> href="{:U('quan/index',array('cid'=>'xiebao'))}">鞋包({$catcount.xiebao})</a></li>
				<li><a <if condition="$cid eq 'peishi'"> class="active"</if> href="{:U('quan/index',array('cid'=>'peishi'))}">配饰({$catcount.peishi})</a></li>
				<li><a <if condition="$cid eq 'meishi'"> class="active"</if> href="{:U('quan/index',array('cid'=>'meishi'))}">美食({$catcount.meishi})</a></li>
				<li><a <if condition="$cid eq 'wenti'"> class="active"</if> href="{:U('quan/index',array('cid'=>'wenti'))}">文体({$catcount.wenti})</a></li>
				<li><a <if condition="$cid eq 'shuma'"> class="active"</if> href="{:U('quan/index',array('cid'=>'shuma'))}">数码({$catcount.shuma})</a></li>
				<li><a <if condition="$cid eq 'jiadian'"> class="active"</if> href="{:U('quan/index',array('cid'=>'jiadian'))}">家电({$catcount.jiadian})</a></li>
				</ul>
			</div>
		</div>

		<div class="n_h">
			<span>排序：</span>
			<a href="{:U('quan/index')}" <if condition="$sort eq 'normal'"> class="active"</if>>默认</a>
			<a href="{:U('quan/index',array('cid'=>$cid,'sort'=>'more'))}" <if condition="$sort eq 'more'"> class="active"</if>>优惠最多</a> 
			<a href="{:U('quan/index',array('cid'=>$cid,'sort'=>'volume'))}" <if condition="$sort eq 'volume'">class="active"</if>>销量</a>
			<a href="{:U('quan/index',array('cid'=>$cid,'sort'=>'price'))}" <if condition="$sort eq 'price'">class="active"</if>>价格</a>
		</div>

	<else />
		<div class="nav-item fl">
			<div class="item-list">
				<ul>
				<li><a href="{:U('quan/index')}" <empty name="cid"> class="active"</empty>>全部</a></li>
				<?php  $cdi=0; ?>
				<volist name="cate_data" id="bcate">
					<if condition="($bcate['pid'] eq 0) AND ($cdi lt 14)">
					<?php $cdi++; ?>
					<li><a <if condition="$cid eq $bcate['id']">class="active"</if> href="{:U('quan/index', array('cid'=>$bcate['id']))}" title="{$bcate.name}">{$bcate.name}</a></i>	
					</if>
				</volist>
				</ul>
			</div>
		</div>

		<div class="n_h">
			<a href="{:U('quan/index')}"  class=" <if condition="$sort eq 'default'"> active </if> ">默认</a>
			<a href="{:U('quan/index',array('sort'=>'volume'))}" class=" <if condition="$sort eq 'volume'"> active </if> ">销量</a>
			<a href="{:U('quan/index',array('sort'=>'price'))}" class=" <if condition="$sort eq 'price'"> active </if> ">价格</a></div>
		</div>
	</if>

	</div>
</div>


<div class="wrap">
<div class="cate-wrap">
       
	<include file="public:list" />
</div>


</div>

<include file="public:footer" />
</body>
</html>